const myApi = require("./my")
const login = require("./login")
const globalApi = require("./globalApi")
const aiCreationApi = require("./aiCreationApi")
const information = require("./information")
const home = require("./home")
const modelApi = require('./modelStore')
const disable = require('./disable')
const othersApi = require('./others')
module.exports = {
  myApi,
  login,
  globalApi,
  information,
  home,
  aiCreationApi,
  modelApi,
  disable,
  othersApi
}
/**&
 * 
 * const { orderApi } = require('dir/path/api/index')
...
1. `Promise.then()`链式调用
func () {
  orderApi.apiName(params).then(res => {
    // do Something
  }).catch(err => {
    // do Something
  })
}

2. `async/await` 调用
async func () {
  try {
    let res = await orderApi.apiName(params)
    // do Something
  } catch (err) {
    // do Something
  }
}

 */